package com.zf.annotation_reflect;

import java.beans.JavaBean;

/**
 * @author Zhou Feng
 */
//@TableName(value = "depart")
@JavaBean(description = "javaBean")
public class Depart extends ParentDepart implements ParentDepartInterface {
    @TableColumn(property = "id", column = "id")
    private Integer id;
    @TableColumn(property = "departName", column = "depart_name")
    private String departName;
    @TableColumn(property = "departCode", column = "depart_code")
    private String departCode;

    protected String testProd;
    String testDefault;
    static final String testStaticFinal=null;

    public Depart() {
    }

    private Depart(Integer id) {
        this.id = id;
    }

    @Override
    public void testPdInter() {

    }

    //@Override
    //public String getParentName() {
    //    return super.getParentName();
    //}

    private int getCount(){
        return 1;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDepartName() {
        return departName;
    }

    public void setDepartName(String departName) {
        this.departName = departName;
    }

    public String getDepartCode() {
        return departCode;
    }

    public void setDepartCode(String departCode) {
        this.departCode = departCode;
    }
}
